home *** CD-ROM | disk | FTP | other *** search
-
-
-
- Flink(2) Oct. 7, 1991 Flink(2)
-
-
- N✓NA✓AM✓ME✓E
- Flink - create a new link to a file
-
- S✓SY✓YN✓NO✓OP✓PS✓SI✓IS✓S
- LONG Flink( char *oldname, char *newname );
-
- D✓DE✓ES✓SC✓CR✓RI✓IP✓PT✓TI✓IO✓ON✓N
- _✓F_✓l_✓i_✓n_✓k creates a new name (a "hard link") for the file cur-
- rently named _✓o_✓l_✓d_✓n_✓a_✓m_✓e. If the _✓F_✓l_✓i_✓n_✓k call is successful,
- then after the call the file may be referred to by either
- name, and a call to _✓F_✓d_✓e_✓l_✓e_✓t_✓e on either name will not affect
- access to the file through the other name. _✓o_✓l_✓d_✓n_✓a_✓m_✓e and
- _✓n_✓e_✓w_✓n_✓a_✓m_✓e must both refer to files on the same physical
- device. Note also that not all file systems allow links.
-
- R✓RE✓ET✓TU✓UR✓RN✓NS✓S
- 0 on success
-
- EXDEV if _✓o_✓l_✓d_✓n_✓a_✓m_✓e and _✓n_✓e_✓w_✓n_✓a_✓m_✓e refer to files on different
- physical devices
-
- EINVFN if the file system does not allow hard links
-
- EFILNF if the file named _✓o_✓l_✓d_✓n_✓a_✓m_✓e does not currently exist
-
- S✓SE✓EE✓E A✓AL✓LS✓SO✓O
- _✓F_✓r_✓e_✓n_✓a_✓m_✓e(2), _✓F_✓s_✓y_✓m_✓l_✓i_✓n_✓k(2)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Version 0.9 MiNT Programmer's Manual 1
-
-
-